/**
* 作者 ：sunmeng
*
* 日期 ：2017/11/21
*
* 描述 ：目录审核组件 - 通过、驳回
*/
<template>
  <div class="dialogContent">
    <el-form label-position="right" label-width="110px">
	    <el-form-item :label="options.label">
	      <el-input type="textarea" class="longText" row="5" ref="refName"></el-input>
	    </el-form-item>
	    <el-form-item label-width="0px" style="margin-top: 20px;text-align: center;">
	      <el-button class="moduleButton button" type="primary" @click="options.submit">保存</el-button>
	      <el-button class="button" type="info" @click="options.cancel">取消</el-button>
	    </el-form-item>
	    <input type="hidden" name="" id="" :value="options.infoResourceId" ref="infoId" />
	  </el-form>
  </div>
</template>
<script>
  export default {
    name: "adoptForm",
    props:["options"],
    data () {
      return {
       
      }
    },
    methods:{
    	getRefs (refName) {
        if(this.$refs[refName])
          return this.$refs[refName]
        else
          throw new Error(`the control ${refName} is undefined !`)
      }
    }
  }
</script>
<style>
  /*弹窗*/
  .dialogContent .dialogBar{
    height: 35px;
    line-height: 35px;
    background-color: #ebebeb;
    border-left: 4px solid #2cace2;
    text-align: left;
    width: 97%;
    margin: 0 auto;
  }
  .dialogContent .longText {
    width: 96%;
  }
  .dialogContent .longText .el-textarea__inner{
  	height: 120px;
  }
  .dialogContent .button{
    width: 120px;
  }
</style>
